<form id="frmAddSpecs" name="frmAddSpecs" class="add-category round_border">
    <div class="chosen_category">
        Chọn danh mục sản phẩm
    </div>
    <div class="list-item-category">
        <div id="specs_cat_1">
            <select class="w170p" id="specsselectcat1" size="15" onclick="AdminController.checkExistProductSubCategory('specs', this.value, 1);AdminController.showSpecsByCatId(this.value);">
                <?php foreach ($aryCategory as $key => $value) {
                ?>
                    <option value="<?php echo $value['category_id']; ?>">&nbsp;<?php echo $value['category_name']; ?><?php echo ($value['category_total_child'] > 0 ) ? ' >' : ''; ?></option>
                <?php } ?>
            </select>
        </div>
        <div id="specs_cat_2" class="hide">
            <select class="w160p" id="specsselectcat2" size="15" onclick="AdminController.checkExistProductSubCategory('specs', this.value, 2);AdminController.showSpecsByCatId(this.value);">

            </select>
        </div>
        <div id="specs_cat_3" class="hide">
            <select class="w160p" id="specsselectcat3" size="15" onclick="AdminController.checkExistProductSubCategory('specs', this.value, 3);AdminController.showSpecsByCatId(this.value);">

            </select>
        </div>
        <div id="specs_cat_4" class="hide">
            <select class="w160p" id="specsselectcat4" size="15" onclick="AdminController.checkExistProductSubCategory('specs', this.value, 4);AdminController.showSpecsByCatId(this.value);">

            </select>
        </div>
        <div id="specs_cat_5" class="hide">
            <select class="w160p" id="specsselectcat5" size="15" onclick="AdminController.checkExistProductSubCategory('specs', this.value, 5);AdminController.showSpecsByCatId(this.value);">

            </select>
        </div>
    </div>
    <div id="list_specs">

    </div>
    <div id="list_input_specs"></div>
    <div id="btnSumitSpecs" class="hide">
        <input type="button" class="cpointer submit" onclick="AdminController.saveSpecs('add');" value="Thêm">
    </div>
    <input type="hidden" name="specs_category_id" id="specs_category_id">
    <input type="hidden" name="specs_id" id="specs_id">
</form>
<div id="specs_item_hidden" style="display: none;">
    
</div>
